package com.web.pojo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Getter
@Setter
@Component
//开启mybatis缓存时需要序列化对象
public class Person implements Serializable {
    int id;
    String name;
}
